Are you trying to insert some special code (eg. something with ]]> in it) into the richtext editor? If that's the case, the error occours because the html from the richtext editor are stores as XML inside CDATA
Could you maybe provde us with a little more details?
Thank you so much for replying so quickly. What I have done (I know it is not the most efficient way) is use AJAX Controls for a Content Panel Extender; about 14 fields. I am then using richtext editor fields to sub data into each title and content fields so it can easily be edited (still new to umbraco and xlst). I was able to enter a few but now getting the error.
I am only entering html code into the richtext editor fields (entering html code into the html section - not rich text section) and I am not using "]]>" or anything like that.
If you want to insert some javascript from the Umbraco backoffice I'd suggest that you put it in a textbox multiple. In this data type you can insert all kinds of code without breaking anything. And it's rendered fine on the frontend.
Hate casting lvl 5 resurection on old treads. But I'm having this problem with a textbox multiple datatype.
I'm trying to add tracking code which contains this code in this textbox and it gives me this error. Using umbraco v 4.7.1 (Assembly version: 1.0.4281.20201)
Cannot have ']]>' inside an XML CDATA block.
What would cause this? Using 4.5.x......
Are you trying to insert some special code (eg. something with ]]> in it) into the richtext editor? If that's the case, the error occours because the html from the richtext editor are stores as XML inside CDATA
Could you maybe provde us with a little more details?
/Kim A
Hi, Kim:
Thank you so much for replying so quickly. What I have done (I know it is not the most efficient way) is use AJAX Controls for a Content Panel Extender; about 14 fields. I am then using richtext editor fields to sub data into each title and content fields so it can easily be edited (still new to umbraco and xlst). I was able to enter a few but now getting the error.
I am only entering html code into the richtext editor fields (entering html code into the html section - not rich text section) and I am not using "]]>" or anything like that.
Ahhh. Kim you saved me. I had entered javascript in the rich text editor
<span style="text-decoration:underline;"> <script type="text/javascript"> document.write(userName[0])</script></span>
to hide an email address and that is what threw it.
Best solution is to use this field without the richtext editor?
If you want to insert some javascript from the Umbraco backoffice I'd suggest that you put it in a textbox multiple. In this data type you can insert all kinds of code without breaking anything. And it's rendered fine on the frontend.
/Kim A
Thanks, Kim. Really appreciate the help.
Chris.
You are very Welcome Chris. Glad the suggestion works for you :)
/Kim A
Hate casting lvl 5 resurection on old treads. But I'm having this problem with a textbox multiple datatype.
I'm trying to add tracking code which contains this code in this textbox and it gives me this error. Using umbraco v 4.7.1 (Assembly version: 1.0.4281.20201)
M
to elaborate, here's an example of the conversion code: http://support.google.com/adwords/bin/answer.py?hl=en&answer=1722021
I just want people to copy paste it into any textbox, and this giving me errors.
is working on a reply...